/*****************************************************************************
 * Description: Bits manipulation helper macros
 *
 * Author:          Edward <chn.edward@gmail.com>
 * Date Created:    2011-6-18
 *
 *****************************************************************************/

#ifndef __BITS_H 
#define __BITS_H

// 32-bits bit definitions
#define BIT0      (0x00000001 << 0 )
#define BIT1      (0x00000001 << 1 )
#define BIT2      (0x00000001 << 2 )
#define BIT3      (0x00000001 << 3 )
#define BIT4      (0x00000001 << 4 )
#define BIT5      (0x00000001 << 5 )
#define BIT6      (0x00000001 << 6 )
#define BIT7      (0x00000001 << 7 )
#define BIT8      (0x00000001 << 8 )
#define BIT9      (0x00000001 << 9 )
#define BIT10     (0x00000001 << 10)
#define BIT11     (0x00000001 << 11)
#define BIT12     (0x00000001 << 12)
#define BIT13     (0x00000001 << 13)
#define BIT14     (0x00000001 << 14)
#define BIT15     (0x00000001 << 15)
#define BIT16     (0x00000001 << 16)
#define BIT17     (0x00000001 << 17)
#define BIT18     (0x00000001 << 18)
#define BIT19     (0x00000001 << 19)
#define BIT20     (0x00000001 << 20)
#define BIT21     (0x00000001 << 21)
#define BIT22     (0x00000001 << 22)
#define BIT23     (0x00000001 << 23)
#define BIT24     (0x00000001 << 24)
#define BIT25     (0x00000001 << 25)
#define BIT26     (0x00000001 << 26)
#define BIT27     (0x00000001 << 27)
#define BIT28     (0x00000001 << 28)
#define BIT29     (0x00000001 << 29)
#define BIT30     (0x00000001 << 30)
#define BIT31     (0x00000001 << 31)

#endif /* end __BITS_H */

/*****************************************************************************
 *                            End Of File
 *****************************************************************************/
